home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
BARNET
/
FREENET
/
AEBY
/
SMAIL-AL
/
README
< prev
Wrap
Text File
|
1995-05-29
|
4KB
|
131 lines
This is an early alpha release of smail. Please don't expect it
to be easy to install nor to work reliably.
1. Installing
1. Copy the usr directory to $.usr
2. Edit $.usr.smail.lib.config (various things) and
$.usr.smail.lib.routers (change path of the smarthost
driver to the FQDN of your mail server)
3. edit etc.passwd (replace user1 by the name of you)
you can add new users by using !NewsBase's menus
4. add the "Newsbase.smtp" directory to !NewsBase transports
(Not tested but should work)
5. run !boot
6. you can now run !run (or do something different - I suggest
you have a look at the !boot file to see what functions
smail provide - I just say "aliases")
2. Installing if you have already got uucp/smail installed
1. replace !uucp.bin.smail by bin.smail
2. add the host, addr out of usr.smail.lib.routers entries to
/usr/smail/lib/routers (either $.usr.smail.routers or
!uucp.usr.smail.routers), replace the smarthost entry
3. add the smtp entry to /usr/smail/lib/transports
4. copy the "set alias..." commands out of the !boot file
into !uucp.!boot (don't forget to run !boot after).
... should be all ...
5. re-run !uucp_conf if you want to remove SMTP support
3. Functionality:
!run: runs smail in daemon mode (-bd) as a wimp task (-oW), listen
to the smtp port for incoming connections and run through
the spooled mail queue every 5 minutes (-q5m)
Whenever an incoming connection is detected in_smtpd is run
on the specific port (yep, another wimp task using about 448k)
When the queue re-run time is reached runq is run (yet another
wimp task using about 1Meg!)
Memory requirements: 320k + 1Meq when running through the queue
+ 448k for every open incoming connection
smtpd: read smtp commands from the keyboard (stdin resp.) and output
responses to the screen (stdout resp.)
runq: start up a wimp task running through the mail queue and trying
to send the spooled messages
rsmtp: run batchsmtp mode - take smtp commands from stdin
in_smtpd: run a smtpd daemon for an incoming connection. This command
is executed by "!run" for every incoming connection. Please don't
run this command manually.
Received messages will only be stored in the mail queue rather
than being directly delivered. This is preferable if you run
an "expensive" connection to the outer world (e.g. SLIP over
modem) as this will be much faster than delivering immediately.
Messages will be delivered on the next runq run.
mailq: list the messages queued for delivery
rmail: read a message from stdin and deliver to the addresses given
on the command line (e.g. "rmail test@anywhere.com")
4. Known Bugs
Many of them ... a selection:
1. no DNS support ("bind" router driver)
2. sometimes crashes when memory is low
3. when smail daemon runs with -qXy quitting the respective
wimp task (use "quit" in the Task display) results in
runqs forking off wildly (well, it stops as soon as there's
no memory left :-))
4. smail has mostly been tested with ACORN's TCP/IP suite -
I don't know if it'll work with freenet correctly.
Send bug reports to aeby@graeff.com, please!
5. Further documentation
Get the UUCP documentation from hensa (the man pages are too large
to include them here). It includes the smail documentation.
To add:
There are some RISC OS specific options:
-oW[name] (e.g. smail -bd -oWsmail_daemon)
run smail as a wimp task (if possible - if
wimp_init fails fall back into CLI command mode).
Use name (optional) as the name appearing in
the Task display.
The wimp task can only be quit in the
Task display (or if the program quits by itself)
-ssocketnumber (e.g. smail -bd -s10)
This option does only make sense together with the
-bd option and does then mean:
Run smail in daemon mode serving one open connection
on the open socket "socketnumber". This option is
used by in_smtpd
Thomas Aeby,
29.5.95
Send comments to aeby@graeff.com, please